package com.dgut.edu.cn.design.mode.strategy;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @description:
 * @author: hongbin.zheng
 * @create: 2023-07-17 16:34
 **/
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.TYPE)
@Component
@Inherited
public @interface StrategyAnnotation {
	/**
	 * 策略类型
	 */
	StrategyType[] strategyType();

	/**
	 * 具体的策略建
	 */
	String[] dataType() default {};
}
